/*
* EfficiencyService.java
* Created on  202015/5/24 19:55
* 版本       修改时间          作者      修改内容
* V1.0.1    202015/5/24       xfz    初始版本
*
*/

package com.infitecs.eyas.boiler.service;

import com.infitecs.eyas.boiler.model.Efficiency;
import com.infitecs.krill.ajax.response.AjaxResponse;
import fr.expression4j.core.exception.EvalException;
import fr.expression4j.core.exception.ParsingException;

/**
 * 类的描述信息
 * 锅炉效率
 *
 * @author xfz
 * @version 1.0.1
 */
public interface EfficiencyService {
    double calculateTheValueOfE88(int caseId);

    double calculateTheValueOfE89(int caseId);

    double calculateTheValueOfE90(int caseId);

    double calculateTheValueOfE91(int caseId);

    double calculateTheValueOfE93(int caseId);

    double calculateTheValueOfE92(int caseId);

    double calculateTheValueOfE94(int caseId);

    double calculateTheValueOfE95(int caseId);

    double calculateTheValueOfE51(int caseId);

    double calculateTheValueOfE52(int caseId, double e51);

    double calculateTheValueOfE53(int caseId);

    void saveTheValueOfE89(double E89, int caseId);

    void saveTheValueOfIsKnown(boolean isKnown, int caseId);

    void saveTheValueOfCount(int caseId);

    void saveTheValueOfE90(double E90, int caseId);

    void saveTheValueOfE51(double E51, int caseId);

    void saveTheValueOfE52(double E52, int caseId);

    void saveTheValueOfE53(double E53, int caseId);

    void saveTheValueOfE88(double E88, int caseId);

    void saveTheValueOfE54(double E54, int caseId);

    void saveTheValueOfE92(double E92, int caseId);

    void saveTheValueOfE93(double E93, int caseId);

    void saveTheValueOfE94(double E94, int caseId);

    void saveTheValueOfE95(double E95, int caseId);

    Efficiency getEfficiency(int caseId);

    void insertCaseId(int caseId);

    double getTheValueOfE51(int caseId);

    AjaxResponse getAirGasMedian(int caseId);

    AjaxResponse getEfficiencyMedian(int caseId);

    double calculateTheValueE51(int caseId);

    void efficiencySave(Efficiency efficiency);

    void efficiencySaveData(Efficiency efficiency);
}
